﻿namespace DesignModeConsole.行为型.职责链模式.抽取试题
{
    /// <summary>
    /// 抽取试题dto
    /// </summary>
    public class ExtractExamFlowDto
    {
        /// <summary>
        /// 用户ID
        /// </summary>
        public string? UserId { get; set; }

        /// <summary>
        /// 抽取总个数
        /// </summary>
        public int TotalCount { get; set; }

        /// <summary>
        /// 抽到的试题
        /// </summary>
        public List<string> ExamList { get; set; } = new List<string>();

        /// <summary>
        /// 还需要抽取的试题个数
        /// </summary>
        public int ExtractCount => TotalCount - ExamList.Count;
    }
}